package com.tt.contrller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by zangzhonghua on 2017/9/18.
 */
@Controller
public class DemoController {
    @RequestMapping("/")
    @ResponseBody
    public String index() {
        return "Hello Spring boot";
    }
}
